/external/llvm/lib/Transforms/Scalar/ |
SCCP.cpp | 750 markConstant(&I, ConstantExpr::getCast(I.getOpcode(), 853 ConstantExpr::get(I.getOpcode(), V1State.getConstant(), [all...] |
GlobalMerge.cpp | 187 Constant *GEP = ConstantExpr::getInBoundsGetElementPtr(MergedGV, Idx);
|
Reassociate.cpp | 584 Constant *Identity = ConstantExpr::getBinOpIdentity(Opcode, I->getType()); 759 return ConstantExpr::getNeg(C); [all...] |
GVN.cpp | [all...] |
/external/llvm/tools/bugpoint/ |
ExtractFunction.cpp | 58 // (and recurse into things like ConstantExpr) 249 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(FP))
|
/external/clang/lib/CodeGen/ |
CGObjCMac.cpp | [all...] |
CGBlocks.cpp | 105 elements.push_back(llvm::ConstantExpr::getBitCast( 125 return llvm::ConstantExpr::getBitCast(global, CGM.getBlockDescriptorType()); 700 blockFn = llvm::ConstantExpr::getBitCast(blockFn, VoidPtrTy); 709 isa = llvm::ConstantExpr::getBitCast(isa, VoidPtrTy); [all...] |
CGCXX.cpp | 150 Aliasee = llvm::ConstantExpr::getBitCast(Ref, AliasType);
|
/external/llvm/lib/Analysis/ |
Lint.cpp | 635 } else if (ConstantExpr *CE = dyn_cast<ConstantExpr>(V)) { 636 // Same as above, but for ConstantExpr instead of Instruction. 656 } else if (ConstantExpr *CE = dyn_cast<ConstantExpr>(V)) {
|
MemoryBuiltins.cpp | 439 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(V)) { 668 (isa<ConstantExpr>(V) && 669 cast<ConstantExpr>(V)->getOpcode() == Instruction::IntToPtr) ||
|
ValueTracking.cpp | [all...] |
InstructionSimplify.cpp | 728 return ConstantExpr::getSub(LHSOffset, RHSOffset); [all...] |
ScalarEvolutionExpander.cpp | 115 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(V)) 125 return ConstantExpr::getCast(Op, C, Ty); 157 return ConstantExpr::get(Opcode, CLHS, CRHS); 530 return ConstantExpr::getGetElementPtr(CLHS, CRHS); [all...] |
/external/llvm/lib/Bitcode/Reader/ |
BitcodeReader.cpp | 197 class ConstantPlaceHolder : public ConstantExpr { 205 : ConstantExpr(Ty, Instruction::UserOp1, &Op<0>(), 1) { 211 return isa<ConstantExpr>(V) && 212 cast<ConstantExpr>(V)->getOpcode() == Instruction::UserOp1; 221 // FIXME: can we inherit this from ConstantExpr? 359 assert(isa<ConstantExpr>(UserC) && "Must be a ConstantExpr."); 360 NewC = cast<ConstantExpr>(UserC)->getWithOperands(NewOps); [all...] |
/external/llvm/lib/CodeGen/ |
StackProtector.cpp | 284 StackGuardVar = ConstantExpr::getIntToPtr(OffsetVal,
|
/external/llvm/lib/IR/ |
BasicBlock.cpp | 74 BA->replaceAllUsesWith(ConstantExpr::getIntToPtr(Replacement,
|
LLVMContextImpl.h | 283 ConstantUniqueMap<ExprMapKeyType, const ExprMapKeyType&, Type, ConstantExpr>
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
BitcodeReader.cpp | 493 class ConstantPlaceHolder : public ConstantExpr { 501 : ConstantExpr(Ty, Instruction::UserOp1, &Op<0>(), 1) { 508 return isa<ConstantExpr>(V) && 509 cast<ConstantExpr>(V)->getOpcode() == Instruction::UserOp1; 518 // FIXME: can we inherit this from ConstantExpr? 656 assert(isa<ConstantExpr>(UserC) && "Must be a ConstantExpr."); 657 NewC = cast<ConstantExpr>(UserC)->getWithOperands(NewOps); [all...] |
/external/llvm/lib/Analysis/IPA/ |
GlobalsModRef.cpp | 278 } else if (ConstantExpr *CE = dyn_cast<ConstantExpr>(U)) {
|
/external/llvm/include/llvm/Support/ |
PatternMatch.h | 386 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(V)) 518 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(V))
|
/external/llvm/lib/ExecutionEngine/ |
ExecutionEngine.cpp | 322 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(FP)) 532 /// ConstantExpr values. 552 // Otherwise, if the value is a ConstantExpr... 553 if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(C)) { 794 OS << "ConstantExpr not handled: " << *CE; [all...] |
/external/llvm/lib/Transforms/IPO/ |
MergeFunctions.cpp | 395 C1 == ConstantExpr::getBitCast(const_cast<Constant*>(C2), C1->getType()); 682 Constant *BitcastNew = ConstantExpr::getBitCast(New, Old->getType()); 758 Constant *BitcastF = ConstantExpr::getBitCast(F, G->getType());
|
/external/llvm/lib/Transforms/Instrumentation/ |
AddressSanitizer.cpp | [all...] |
/external/llvm/lib/Target/X86/ |
X86FastISel.cpp | 352 } else if (const ConstantExpr *C = dyn_cast<ConstantExpr>(V)) { 606 } else if (const ConstantExpr *C = dyn_cast<ConstantExpr>(V)) { [all...] |
/external/llvm/lib/AsmParser/ |
LLParser.cpp | [all...] |